<script setup>

</script>

<template>
<div>
  <router-link to="/demo/A">A</router-link>
  &nbsp;&nbsp;
  <router-link :to="{name:'demo_B',params:{id:1,name:'Tom'}}">B</router-link>
  &nbsp;&nbsp;
  <router-link to="/demo/C">C</router-link>
  &nbsp;&nbsp;
  <router-link to="/demo/D">D</router-link>
  <br>
  <router-view></router-view>
</div>
</template>

<style scoped>

</style>